#include "DietPlan.h"


DietPlan::DietPlan()
{
;
}

void DietPlan::setUserId(int userId1)
{
    userId=userId1;
}

void DietPlan::setInfo(QString info1)
{
    info=info1;
}

void DietPlan::setDate(QDate date1)
{
    date=date1;
}

void DietPlan::setId(int id1)
{
    dietId=id1;
}

QDate DietPlan::getDate()
{
    return date;
}

QString DietPlan::getInfo()
{
    return info;
}

void DietPlan::setDietComments(QSharedPointer<QVector<QSharedPointer<DietComment> > > m_comments1)
{
    m_comments = m_comments1;
}

QSharedPointer<QVector<QSharedPointer<DietComment> > > DietPlan::getDietComments()
{
    return m_comments;
}

int DietPlan::getDietId()
{
    return dietId;
}

